package com.vf.admin.client.service;

import com.vf.admin.client.dto.AppRankingDto;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppMingXiSongLi;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AfterMingXiSongLiService.java
 * @Description 送礼明细记录
 * @createTime 2021年11月02日 15:21:00
 */
public interface AppMingXiSongLiService {

    void saveOrUpdate(AppMingXiSongLi appMingXiSongLi);

    /**
     * 更新礼物信息
     *
     * @param giftid
     * @param picture
     * @param giftname
     */
    void updateGiftData(Integer giftid, String picture, String giftname);

    //查找用户送礼明细
    List<AppMingXiSongLi> findList(Integer userid, SplitPageBean splitPageBean);

    List<AppMingXiSongLi> list(Map<String, Object> params, SplitPageBean splitPageBean);

    Double listSum(Map<String, Object> paraMap);

    /**
     * 查询指定时间送礼的排行榜
     */
    List<AppMingXiSongLi> leaderBoard(String startTime, String endTime);

    List<AppRankingDto> getRanking(Integer secondType, Map<String, Object> params);

}



